home *** CD-ROM | disk | FTP | other *** search
- ANSI/ASCII SLIDESHOW
- Copyright December, 1995
- Alpine Village Software by John Rice
-
- ASHOW is a 'presentation' program, designed to sequentially present
- ASCII or ANSI files 'screens', to the user. Originally designed for
- use as an 'Advertiser' at ONEBBScon, this program can also be used
- for applications such as; Giving a new user a 'guided tour' through
- your system, or creating a training presentation.
-
- ASHOW2 is Version 2 of ASHOW. In version 2 capability is added to
- automatically present ANSI screens to users when entering selected
- menus. This is primarily designed to do 'advertising', however other
- uses are possible.
-
- Files:
- AVSHOW2 is distributed with the following files:
-
- AVSHOW2.TPG The Program file
- AVSHOW2.DOC This File
- AVINIT.TPG The Line initialization file.
- AVRUN.TPG The Menu File 'runner'.
- ASHOW.ANS The ASHOW Main Menu screen
-
- The following files will be created when ASHOW first runs.
-
- A2FILES.DBF The file list datafile
- A2FILES.NDX The file list index
- ASHCFG.DBF This file holds default drive and path info.
- A2LINES.DBF The 'lines' configuration file.
- A2LINES.NDX The 'lines' file index.
-
- ASHKEY.DBF The license keyfile. (Not present in demo
- versions).
-
- Configurability:
-
- Active - A line can be configured to be 'Active' or not Active.
- A line that is configured to be not active, will be
- skipped. i.e. users on that line will not be shown
- ansi files, no matter how often they enter enabled menus.
-
- Frequency - A 'counter' is stored in the 'lines database' for each
- line. Every time the user on that line enters a AVRUN
- equipped menu, the counter is incremented. Each line has a
- 'frequency' setting which will determine how often screens
- will be displayed. When the 'counter' matches the
- 'frequency', a file is displayed and the counter is reset.
- So if the 'frequency' is 3, then every third time a user
- enters a AVRUN equipped menu, the next file will be
- presented.
-
- Starting - Each line can be configured to start at the 'Beginning' of
- the file list, or at a random point in the list. For large
- lists, it may be better to start at a random point to
- ensure a better distribution of files presented.
-
- Prompting - During display of files the user can be 'automatically'
- prompted for file download, or the SYSOP can manually
- add prompting to displayed screens.
-
-
- TPG Files:
-
- AVSHOW2 -
-
- AVSHOW2 is the main program file. This file can be placed in a
- menu for 'users' and when selected by a user will operate in
- 'slideshow' mode. Slideshow Mode presents a series of ANSI screens
- to the user, in order of their entry in the File List.
-
- When AVSHOW2 is selected by the SYSOP, a menu appears which
- includes configuration elements. Configuration includes, addition
- and maintenance of files, in the File List and configuration of
- 'Lines' in the Lines database.
-
- AVINIT -
-
- AVINIT is placed as an 'autoexecute' in menu 0000. When a new user
- logs in, AVINIT will initialize their 'line' to a starting point
- in the files list (the beginning or a randomly selected file) and
- initialize the 'frequency' of appearance of ANSI files when they
- enter a menu which includes AVRUN.
-
- AVRUN -
-
- AVRUN is placed as an 'autoexecute' in selected menus where you
- wish to automatically present ANSI files, to your users. Each time
- a user enters one of these menus, AVRUN will check to see if the
- line is 'active' (configured to allow the 'show'), and determine
- if the 'frequency' has occurred to trigger a file to be displayed.
-
-
-
- INSTALLATION:
-
- Create a separate directory ASHOW2 and copy the supplied files there.
-
- Menu Entries:
-
- The Main Program (and configuration program) (AVSHOW2.TPG) :
-
- Create a menu item in any menu as follows:
-
- Entry:
-
- Key=X Type=200 Opt Data=\path\to\avshow2\avshow2 /Q
-
- or:
-
- Key=X Type=200 Opt Data=\path\to\avshow2\avshow2 /Q && /P
-
- At the 'main menu':
-
- The USER will see Menu Items for <R>un and <Q>uit.
-
- The SYSOP will see Extra Menu items to:
-
- <C>onfigure defaults
- <L> Configure Lines
- <S>how files in the list
- <A>dd Files to File list
- <P>rint the File List
- <E>dit Entries on the File list
- <Z>ap The File list and start over
-
- While the show is running:
-
- If "&& /P" is added to the TYPE=200 command line, the user will be
- automatically prompted to <D>ownload attached files, if an Attached
- file exists. Also the user will get prompted for <P>ause, <Q>uit.
-
-
- The Lines Initialization file (AVINIT.TPG) :
-
- Create an entry in menu0000 to initialize a users line when they log
- in that looks like:
-
- Entry:
- Key=^@ Type=200 Opt Data=\path\to\avshow2\avinit /Q
-
- Where the '\path\to\avshow2' is the subdirectory where you installed
- AVSHOW2 files.
-
-
- The Runtime file (AVRUN.TPG):
-
- Create an entry at the top of each of your menus where you want to
- automatically present files that looks like:
-
- Entry:
-
- Key=^@ Type=200 Opt Data=\path\to\avshow2\avrun /Q
-
- or
-
- Key=^@ Type=200 Opt Data=\path\to\avshow2\avrun /Q && /P
-
- Where the '\path\to\avshow2' is the subdirectory where you installed
- AVSHOW2 files.
-
- While a file is displayed:
-
- If "&& /P" is added to the TYPE=200 command line, the user will be
- automatically prompted to <D>ownload attached files, if an Attached
- file exists. Also the user will get prompted for <P>ause, <Q>uit.
-
- ******
-
- SCREENS:
-
- <C>onfiguration Screen allows you to pre-set 'Drive', 'Path' and
- 'Delay' entries, which will be defaults when you add files to the
- database. These defaults can be overridden for each entry in the
- database, but it makes building a long list of files go much faster,
- if they're all in the same sub-directory.
-
- <A>dd, Adds files to the list. Files can be added at any time, and
- 'inserted' into the display order, just by virtue of their assigned
- 'sequence' number. Files can be quickly added by entering a
- starting 'sequence' number and sequencing 'increment'.
-
- <S>how lists all files and their sequence numbers. It's possible for
- two files to have the same sequence number. If this happens, just
- use <E>dit to change one of them to another number.
-
- <E>dit will allow you to make corrections, or replace an entry in
- the file list. It also allows you to define display 'sequence'
- numbers which determine the order in which files are displayed.
- Files can be moved, in the display order, simply by changing the
- sequence number. If you accidentally get two files with the same
- sequence number, this won't hurt anything, but either file may
- display 'first', or one of the files may not show at all. It's
- best to use the editor to change the sequence number of one of
- the files.
-
- <Z>ap the list and start over. When the file list is deleted, the
- original list and it's associated index file are saved. To recover
- the list, use DOS to rename the files ashdbf.sav to afiles.dbf, and
- ashndx.sav to afiles.ndx.
-
- When Adding or Editing the file list, the program verifies that the
- entered file exists, but will allow you to override the check, if
- you're going to add the file later. 'Attached' files are NOT verified.
-
-
- CONFIGURATION:
-
- Configuring the Files database:
-
- The files database is created and initialized, the first time <C>onfigure
- defaults is selected from the SysOp Menu. The database is initialized
- with one file in 'Sequence 0', using the AVSHOW.ANS menu screen, as an
- example. This entry can then be changed by the SysOp to any file.
-
- In the <A>dd Files and <E>dit files screens:
-
- Seq: This is the 'index' sequence in which files will be presented.
- Drive: This is the Drive on which these files reside.
- Path: This is the directory 'path' to the file.
- File: This is the individual File Name
- Description: An optional description of what this file is.
- Attach: An 'attached' file which may be downloaded from this screen
- when it's shown to the user.
-
- Note: Attached files must include the fully qualified path to the
- file. ie: c:\attchd\filename.sfx
-
- SYSOP FEATURE: While a file is being displayed (In either AVSHOW2
- or AVRUN) entering ^I (Control + I) will cause the 'Sequence
- Number" to be displayed on the lower right hand corner of the
- screen. This is provided to help identify screens during
- configuration and troubleshooting.
-
- Configuring Lines:
-
- The lines database is initially built by the program, the first time
- 'Configure <L>ines is selected from the SysOp Menu, with all lines
- configured as 'Active', with a 'Frequency' of 3 and starting at the
- 'Beginning' of the file list.
-
- If you have users logging in on lines where you DO NOT want them to
- see 'advertising', configure these lines as 'Active = N'. (SysOps
- and co-SysOps, for example).
-
- Determine how often you wish to display files. (See the definition of
- 'frequency' above. Different lines can have different 'frequencies',
- for example if you have a group of 'public lines' and separate group
- of 'private lines (for subscribers) you might want to have advertising
- presented to the 'public' more often than to the 'subscribers', so you
- would set the 'frequency' number lower on the 'public' lines.
-
- Determine where you want lines to start in the file list. If you only
- have a few files (10-20) you may want to always start at the beginning
- of the list. If you have many files, you might want to start at a
- random point in the list to make sure that users aren't seeing the
- same files every time they log in.
-
- Lines can be configured individually, or 'globally' ie: Global change
- will apply to ALL lines
-
-
- Usage Notes:
- The file ashow.ans is the 'backdrop' screen for the menus.
- It is possible to completely replace the main menu screen,
- except for the menu select line, by replacing ashow.ans with
- your own Menu Screen. To do this, create an ANSI or ASCII
- screen and name it ashow.ans .
-
- AVSHOW2 displays files in order of the 'Sequence number'
- assigned to the file entry in the list. Sequence numbers
- do not need to be added in order, thus you can start your
- list with numbers of 10, 20, 30, etc and if you want to
- insert a file in the middle of the list, just add the file
- with a sequence number that will cause it to display where
- you want it in the list (like 25 will display between 20
- and 30).
-
- To temporarily delete an entry, erase the file name and
- the entry will be skipped. You can go back later and use
- the 'slot' for another file, and change the sequence
- number to place it where you want it.
-
- While AVSHOW2 can use files located anywhere on the system, I
- find it's easier to keep track of and maintain if you define
- a separate sub-directory to hold most of your ASHOW files.
- I use /ashow2/files.
-
- DEMO Mode - An 'unlicensed' ASHOW runs in Demo Mode. In
- this mode, there is a limit of 5 files in the 'show'. Also
- each displayed file with have a 'demo message' placed over
- the displayed file. The licensed version removes the demo
- message and 5 file limit.
-
-
- AVRUN can be installed in as many (or as few) menus as you
- wish. Be careful not to overwhelm your users with
- advertising, if you hit them too often, you'll hear about
- it. You can either run 'ads' in fewer menus, or decrease
- the frequency (increase the 'frequency' entry in the lines
- configuration) until you find a reasonable balance.
-
- Additional 'filtering' can be done using PRIV levels and
- 'A' flags, to limit displays to 'groups' of users.
-
-
- There are some ANSI files that will not display with
- AVSHOW. Some methods of 'saving' files from THEDRAW and
- other drawing programs produce ANSI files that override
- EOL processing by TDBS. I've found that many of these
- files can be made AVSHOW compatible by using 'BLOCK SAVE'
- in THEDRAW or loading the files into ANSI PAINT and
- re-saving them.
-
- History:
-
- July 17, 1994 - Initial release.
-
- July 24, 1994 - V 1.2 List Edit enhanced
- Show file list added
-
- July 25, 1994 - V 1.24 List Edit enhanced again
- Add files routine enhanced.
-
- August 1, 1994 - V 1.25 Official Release
- Added <P>ause during run.
- Revised <Z>ap, to save index file.
- Added Demo Mode and Keyfile
-
- August 1, 1994 - V 1.3 Added 'Description' field to database.
-
- August 11, 1994 - V 1.31 Added <-> during 'show' to back-up
- one screen.
-
- December 2, 1995 - V 2.0 Released Version 2 - See docs.
-
- December 12, 1995 - V2.02 Revised File List <E>dit function.
-
- December 16, 1995 - V2.03 Added ^I for SYSOP to display
- 'Sequence Number' during 'show' display.
-
- Added '&& /P' command line switch option.
-
- Warranty :
-
- Use ASHOW at your own risk. ASHOW has been extensively tested and should
- not inherently cause problems in any system. I express no warranty and take
- no responsibility for damages that may occur to files used (or not used) by
- AVshow2 or its associated files.
-
- Please report any problems with ASHOW to me directly or to the
- distributor from who you purchased this program.
-
- John Rice
- Alpine Village Software
- P.O. Box 935
- Lake Zurich, Ill 60047
- rice@avsoft.com
-